package pri.damai.xiaowu.order.server.entity;


import lombok.Data;
import lombok.EqualsAndHashCode;
import pri.damai.xiaowu.common.core.model.BaseEntity;

import java.time.LocalDateTime;

/**
 * 订单表(OdrOrder)表实体类
 *
 * @author makejava
 * @since 2022-04-28 21:39:44
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class OdrOrder extends BaseEntity {
    //订单编号
    private String orderNo;
    //订单状态
    private Integer orderStatus;
    //用户Id
    private Long userId;
    //商户
    private Long merchantId;
    //商品总金额
    private Long goodsTotalAmount;
    //运费总金额
    private Long freightTotalAmount;
    //折扣总金额
    private Long discountTotalAmount;
    //支付总金额
    private Long payTotalAmount;
    //支付状态
    private Integer payStatus;
    //支付时间
    private LocalDateTime payTime;
    //删除标志
    private Integer isDeleted;
}

